home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / leim / auto-autoloads.elc.z / auto-autoloads.elc
Emacs Compiled Lisp  |  1998-05-21  |  7.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 73 74 65 76 65 40 61 |piled by| steve@a|
|00000020| 6c 74 61 69 72 2e 78 65 | 6d 61 63 73 2e 6f 72 67 |ltair.xe|macs.org|
|00000030| 20 6f 6e 20 54 68 75 20 | 4e 6f 76 20 32 30 20 31 | on Thu |Nov 20 1|
|00000040| 37 3a 33 39 3a 30 31 20 | 31 39 39 37 0a 3b 3b 3b |7:39:01 |1997.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 78 65 6d 61 63 73 2f | 32 30 2e 33 2f 78 65 6d |/xemacs/|20.3/xem|
|00000070| 61 63 73 2d 32 30 2e 33 | 2f 6c 69 73 70 2f 6c 65 |acs-20.3|/lisp/le|
|00000080| 69 6d 2f 61 75 74 6f 2d | 61 75 74 6f 6c 6f 61 64 |im/auto-|autoload|
|00000090| 73 2e 65 6c 0a 3b 3b 3b | 20 65 6d 61 63 73 20 76 |s.el.;;;| emacs v|
|000000a0| 65 72 73 69 6f 6e 20 32 | 30 2e 33 20 22 56 61 74 |ersion 2|0.3 "Vat|
|000000b0| 69 63 61 6e 20 43 69 74 | 79 22 20 58 45 6d 61 63 |ican Cit|y" XEmac|
|000000c0| 73 20 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |s Lucid|..;;; by|
|000000d0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000e0| 2e 32 35 20 58 45 6d 61 | 63 73 3b 20 32 32 2d 4d |.25 XEma|cs; 22-M|
|000000f0| 61 72 2d 39 36 2e 0a 3b | 3b 3b 20 6f 70 74 69 6d |ar-96..;|;; optim|
|00000100| 69 7a 61 74 69 6f 6e 20 | 69 73 20 6f 6e 2e 0a 3b |ization |is on..;|
|00000110| 3b 3b 20 74 68 69 73 20 | 66 69 6c 65 20 75 73 65 |;; this |file use|
|00000120| 73 20 6f 70 63 6f 64 65 | 73 20 77 68 69 63 68 20 |s opcode|s which |
|00000130| 64 6f 20 6e 6f 74 20 65 | 78 69 73 74 20 69 6e 20 |do not e|xist in |
|00000140| 45 6d 61 63 73 20 31 39 | 2e 0a 0a 28 69 66 20 28 |Emacs 19|...(if (|
|00000150| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 6d 61 |and (bou|ndp 'ema|
|00000160| 63 73 2d 76 65 72 73 69 | 6f 6e 29 0a 09 20 28 6f |cs-versi|on).. (o|
|00000170| 72 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |r (and (|boundp '|
|00000180| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 20 |epoch::v|ersion) |
|00000190| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 0a |epoch::v|ersion).|
|000001a0| 09 20 20 20 20 20 28 73 | 74 72 69 6e 67 2d 6c 65 |. (s|tring-le|
|000001b0| 73 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |ssp emac|s-versio|
|000001c0| 6e 20 22 32 30 22 29 29 | 29 0a 20 20 20 20 28 65 |n "20"))|). (e|
|000001d0| 72 72 6f 72 20 22 60 61 | 75 74 6f 2d 61 75 74 6f |rror "`a|uto-auto|
|000001e0| 6c 6f 61 64 73 2e 65 6c | 27 20 77 61 73 20 63 6f |loads.el|' was co|
|000001f0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|00000200| 20 32 30 22 29 29 0a 0a | 28 6f 72 20 28 62 6f 75 | 20"))..|(or (bou|
|00000210| 6e 64 70 20 27 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |ndp 'cur|rent-loa|
|00000220| 64 2d 6c 69 73 74 29 20 | 28 73 65 74 71 20 63 75 |d-list) |(setq cu|
|00000230| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 20 |rrent-lo|ad-list |
|00000240| 6e 69 6c 29 29 0a 0a 0a | 28 62 79 74 65 2d 63 6f |nil))...|(byte-co|
|00000250| 64 65 20 22 c0 c1 21 ab | 84 c2 c3 21 88 c4 c1 21 |de "..!.|...!...!|
|00000260| 87 22 20 5b 66 65 61 74 | 75 72 65 70 20 6c 65 69 |." [feat|urep lei|
|00000270| 6d 2d 61 75 74 6f 6c 6f | 61 64 73 20 65 72 72 6f |m-autolo|ads erro|
|00000280| 72 20 22 41 6c 72 65 61 | 64 79 20 6c 6f 61 64 65 |r "Alrea|dy loade|
|00000290| 64 22 20 70 72 6f 76 69 | 64 65 5d 20 32 29 0a 23 |d" provi|de] 2).#|
|000002a0| 40 31 31 38 20 53 74 61 | 72 74 20 75 73 69 6e 67 |@118 Sta|rt using|
|000002b0| 20 51 75 61 69 6c 20 70 | 61 63 6b 61 67 65 20 50 | Quail p|ackage P|
|000002c0| 41 43 4b 41 47 45 2d 4e | 41 4d 45 2e 0a 54 68 65 |ACKAGE-N|AME..The|
|000002d0| 20 72 65 6d 61 69 6e 69 | 6e 67 20 61 72 67 75 6d | remaini|ng argum|
|000002e0| 65 6e 74 73 20 61 72 65 | 20 6c 69 62 72 61 72 69 |ents are| librari|
|000002f0| 65 73 20 74 6f 20 62 65 | 20 6c 6f 61 64 65 64 20 |es to be| loaded |
|00000300| 62 65 66 6f 72 65 20 75 | 73 69 6e 67 20 74 68 65 |before u|sing the|
|00000310| 20 70 61 63 6b 61 67 65 | 2e 1f 0a 28 61 75 74 6f | package|...(auto|
|00000320| 6c 6f 61 64 20 27 71 75 | 61 69 6c 2d 75 73 65 2d |load 'qu|ail-use-|
|00000330| 70 61 63 6b 61 67 65 20 | 22 71 75 61 69 6c 22 20 |package |"quail" |
|00000340| 27 28 23 24 20 2e 20 36 | 37 37 29 20 6e 69 6c 20 |'(#$ . 6|77) nil |
|00000350| 6e 69 6c 29 0a 23 40 33 | 35 31 35 20 44 65 66 69 |nil).#@3|515 Defi|
|00000360| 6e 65 20 4e 41 4d 45 20 | 61 73 20 61 20 6e 65 77 |ne NAME |as a new|
|00000370| 20 51 75 61 69 6c 20 70 | 61 63 6b 61 67 65 20 66 | Quail p|ackage f|
|00000380| 6f 72 20 69 6e 70 75 74 | 20 4c 41 4e 47 55 41 47 |or input| LANGUAG|
|00000390| 45 2e 0a 54 49 54 4c 45 | 20 69 73 20 61 20 73 74 |E..TITLE| is a st|
|000003a0| 72 69 6e 67 20 74 6f 20 | 62 65 20 64 69 73 70 6c |ring to |be displ|
|000003b0| 61 79 65 64 20 61 74 20 | 6d 6f 64 65 2d 6c 69 6e |ayed at |mode-lin|
|000003c0| 65 20 74 6f 20 69 6e 64 | 69 63 61 74 65 20 74 68 |e to ind|icate th|
|000003d0| 69 73 20 70 61 63 6b 61 | 67 65 2e 0a 4f 70 74 69 |is packa|ge..Opti|
|000003e0| 6f 6e 61 6c 20 61 72 67 | 75 6d 65 6e 74 73 20 61 |onal arg|uments a|
|000003f0| 72 65 20 47 55 49 44 41 | 4e 43 45 2c 20 44 4f 43 |re GUIDA|NCE, DOC|
|00000400| 53 54 52 49 4e 47 2c 20 | 54 52 41 4e 4c 53 41 54 |STRING, |TRANLSAT|
|00000410| 49 4f 4e 2d 4b 45 59 53 | 2c 0a 20 46 4f 52 47 45 |ION-KEYS|,. FORGE|
|00000420| 54 2d 4c 41 53 54 2d 53 | 45 4c 45 43 54 49 4f 4e |T-LAST-S|ELECTION|
|00000430| 2c 20 44 45 54 45 52 4d | 49 4e 49 53 54 49 43 2c |, DETERM|INISTIC,|
|00000440| 20 4b 42 44 2d 54 52 41 | 4e 53 4c 41 54 45 2c 20 | KBD-TRA|NSLATE, |
|00000450| 53 48 4f 57 2d 4c 41 59 | 4f 55 54 2c 0a 20 43 52 |SHOW-LAY|OUT,. CR|
|00000460| 45 41 54 45 2d 44 45 43 | 4f 44 45 2d 4d 41 50 2c |EATE-DEC|ODE-MAP,|
|00000470| 20 4d 41 58 49 4d 55 4d | 2d 53 48 4f 52 54 45 53 | MAXIMUM|-SHORTES|
|00000480| 54 2c 20 4f 56 45 52 4c | 41 59 2d 50 4c 49 53 54 |T, OVERL|AY-PLIST|
|00000490| 2c 0a 20 55 50 44 41 54 | 45 2d 54 52 41 4e 53 4c |,. UPDAT|E-TRANSL|
|000004a0| 41 54 49 4f 4e 2d 46 55 | 4e 43 54 49 4f 4e 2c 20 |ATION-FU|NCTION, |
|000004b0| 43 4f 4e 56 45 52 53 49 | 4f 4e 2d 4b 45 59 53 20 |CONVERSI|ON-KEYS |
|000004c0| 61 6e 64 20 53 49 4d 50 | 4c 45 2e 0a 0a 47 55 49 |and SIMP|LE...GUI|
|000004d0| 44 41 4e 43 45 20 73 70 | 65 63 69 66 69 65 73 20 |DANCE sp|ecifies |
|000004e0| 68 6f 77 20 61 20 67 75 | 69 64 61 6e 63 65 20 73 |how a gu|idance s|
|000004f0| 74 72 69 6e 67 20 69 73 | 20 73 68 6f 77 6e 20 69 |tring is| shown i|
|00000500| 6e 20 65 63 68 6f 20 61 | 72 65 61 2e 0a 49 66 20 |n echo a|rea..If |
|00000510| 69 74 20 69 73 20 74 2c | 20 6c 69 73 74 20 6f 66 |it is t,| list of|
|00000520| 20 61 6c 6c 20 70 6f 73 | 73 69 62 6c 65 20 74 72 | all pos|sible tr|
|00000530| 61 6e 73 6c 61 74 69 6f | 6e 73 20 66 6f 72 20 74 |anslatio|ns for t|
|00000540| 68 65 20 63 75 72 72 65 | 6e 74 20 6b 65 79 20 69 |he curre|nt key i|
|00000550| 73 20 73 68 6f 77 6e 0a | 20 77 69 74 68 20 74 68 |s shown.| with th|
|00000560| 65 20 63 75 72 72 65 6e | 74 6c 79 20 73 65 6c 65 |e curren|tly sele|
|00000570| 63 74 65 64 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |cted tra|nslation|
|00000580| 20 62 65 69 6e 67 20 68 | 69 67 68 6c 69 67 68 74 | being h|ighlight|
|00000590| 65 64 2e 0a 49 66 20 69 | 74 20 69 73 20 61 6e 20 |ed..If i|t is an |
|000005a0| 61 6c 69 73 74 2c 20 74 | 68 65 20 65 6c 65 6d 65 |alist, t|he eleme|
|000005b0| 6e 74 20 68 61 73 20 74 | 68 65 20 66 6f 72 6d 20 |nt has t|he form |
|000005c0| 28 43 48 41 52 20 2e 20 | 53 54 52 49 4e 47 29 2e |(CHAR . |STRING).|
|000005d0| 20 20 45 61 63 68 20 63 | 68 61 72 61 63 74 65 72 | Each c|haracter|
|000005e0| 0a 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |. in the| current|
|000005f0| 20 6b 65 79 20 69 73 20 | 73 65 61 72 63 68 65 64 | key is |searched|
|00000600| 20 69 6e 20 74 68 65 20 | 6c 69 73 74 20 61 6e 64 | in the |list and|
|00000610| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|00000620| 6e 67 20 73 74 72 69 6e | 67 20 69 73 0a 20 73 68 |ng strin|g is. sh|
|00000630| 6f 77 6e 2e 0a 49 66 20 | 69 74 20 69 73 20 6e 69 |own..If |it is ni|
|00000640| 6c 2c 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6b |l, the c|urrent k|
|00000650| 65 79 20 69 73 20 73 68 | 6f 77 6e 2e 0a 0a 44 4f |ey is sh|own...DO|
|00000660| 43 53 54 52 49 4e 47 20 | 69 73 20 74 68 65 20 64 |CSTRING |is the d|
|00000670| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 73 74 72 |ocumenta|tion str|
|00000680| 69 6e 67 20 6f 66 20 74 | 68 69 73 20 70 61 63 6b |ing of t|his pack|
|00000690| 61 67 65 2e 0a 0a 54 52 | 41 4e 53 4c 41 54 49 4f |age...TR|ANSLATIO|
|000006a0| 4e 2d 4b 45 59 53 20 73 | 70 65 63 69 66 69 65 73 |N-KEYS s|pecifies|
|000006b0| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 6b 65 79 20 | additio|nal key |
|000006c0| 62 69 6e 64 69 6e 67 73 | 20 75 73 65 64 20 77 68 |bindings| used wh|
|000006d0| 69 6c 65 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 0a |ile tran|slation.|
|000006e0| 72 65 67 69 6f 6e 20 69 | 73 20 61 63 74 69 76 65 |region i|s active|
|000006f0| 2e 20 20 49 74 20 69 73 | 20 61 6e 20 61 6c 69 73 |. It is| an alis|
|00000700| 74 20 6f 66 20 73 69 6e | 67 6c 65 20 6b 65 79 20 |t of sin|gle key |
|00000710| 63 68 61 72 61 63 74 65 | 72 20 76 73 2e 20 63 6f |characte|r vs. co|
|00000720| 72 72 65 73 70 6f 6e 64 | 69 6e 67 0a 63 6f 6d 6d |rrespond|ing.comm|
|00000730| 61 6e 64 20 74 6f 20 62 | 65 20 63 61 6c 6c 65 64 |and to b|e called|
|00000740| 2e 0a 0a 46 4f 52 47 45 | 54 2d 4c 41 53 54 2d 53 |...FORGE|T-LAST-S|
|00000750| 45 4c 45 43 54 49 4f 4e | 20 6e 6f 6e 2d 6e 69 6c |ELECTION| non-nil|
|00000760| 20 6d 65 61 6e 73 20 61 | 20 73 65 6c 65 63 74 65 | means a| selecte|
|00000770| 64 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 20 69 73 |d transl|ation is|
|00000780| 20 6e 6f 74 20 6b 65 70 | 74 0a 66 6f 72 20 74 68 | not kep|t.for th|
|00000790| 65 20 66 75 74 75 72 65 | 20 74 6f 20 74 72 61 6e |e future| to tran|
|000007a0| 73 6c 61 74 65 20 74 68 | 65 20 73 61 6d 65 20 6b |slate th|e same k|
|000007b0| 65 79 2e 20 20 49 66 20 | 74 68 69 73 20 66 6c 61 |ey. If |this fla|
|000007c0| 67 20 69 73 20 6e 69 6c | 2c 20 61 0a 74 72 61 6e |g is nil|, a.tran|
|000007d0| 73 6c 61 74 69 6f 6e 20 | 73 65 6c 65 63 74 65 64 |slation |selected|
|000007e0| 20 66 6f 72 20 61 20 6b | 65 79 20 69 73 20 72 65 | for a k|ey is re|
|000007f0| 6d 65 6d 62 65 72 65 64 | 20 73 6f 20 74 68 61 74 |membered| so that|
|00000800| 20 69 74 20 63 61 6e 20 | 62 65 20 74 68 65 0a 66 | it can |be the.f|
|00000810| 69 72 73 74 20 63 61 6e | 64 69 64 61 74 65 20 77 |irst can|didate w|
|00000820| 68 65 6e 20 74 68 65 20 | 73 61 6d 65 20 6b 65 79 |hen the |same key|
|00000830| 20 69 73 20 65 6e 74 65 | 72 65 64 20 6c 61 74 65 | is ente|red late|
|00000840| 72 2e 0a 0a 44 45 54 45 | 52 4d 49 4e 49 53 54 49 |r...DETE|RMINISTI|
|00000850| 43 20 6e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 |C non-ni|l means |
|00000860| 74 68 65 20 66 69 72 73 | 74 20 63 61 6e 64 69 64 |the firs|t candid|
|00000870| 61 74 65 20 6f 66 20 74 | 72 61 6e 73 6c 61 74 69 |ate of t|ranslati|
|00000880| 6f 6e 20 69 73 0a 73 65 | 6c 65 63 74 65 64 20 61 |on is.se|lected a|
|00000890| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 77 69 74 |utomatic|ally wit|
|000008a0| 68 6f 75 74 20 61 6c 6c | 6f 77 69 6e 67 20 75 73 |hout all|owing us|
|000008b0| 65 72 73 20 74 6f 20 73 | 65 6c 65 63 74 20 61 6e |ers to s|elect an|
|000008c0| 6f 74 68 65 72 0a 74 72 | 61 6e 73 6c 61 74 69 6f |other.tr|anslatio|
|000008d0| 6e 20 66 6f 72 20 61 20 | 6b 65 79 2e 20 20 49 6e |n for a |key. In|
|000008e0| 20 74 68 69 73 20 63 61 | 73 65 2c 20 75 6e 73 65 | this ca|se, unse|
|000008f0| 6c 65 63 74 65 64 20 74 | 72 61 6e 73 6c 61 74 69 |lected t|ranslati|
|00000900| 6f 6e 73 20 61 72 65 20 | 6f 66 0a 6e 6f 20 75 73 |ons are |of.no us|
|00000910| 65 20 66 6f 72 20 61 6e | 20 69 6e 74 65 72 61 63 |e for an| interac|
|00000920| 74 69 76 65 20 75 73 65 | 20 6f 66 20 51 75 61 69 |tive use| of Quai|
|00000930| 6c 20 62 75 74 20 63 61 | 6e 20 62 65 20 75 73 65 |l but ca|n be use|
|00000940| 64 20 62 79 20 73 6f 6d | 65 20 6f 74 68 65 72 0a |d by som|e other.|
|00000950| 70 72 6f 67 72 61 6d 73 | 2e 20 20 49 66 20 74 68 |programs|. If th|
|00000960| 69 73 20 66 6c 61 67 20 | 69 73 20 6e 6f 6e 2d 6e |is flag |is non-n|
|00000970| 69 6c 2c 20 46 4f 52 47 | 45 54 2d 4c 41 53 54 2d |il, FORG|ET-LAST-|
|00000980| 53 45 4c 45 43 54 49 4f | 4e 20 69 73 20 61 6c 73 |SELECTIO|N is als|
|00000990| 6f 20 73 65 74 0a 74 6f | 20 74 2e 0a 0a 4b 42 44 |o set.to| t...KBD|
|000009a0| 2d 54 52 41 4e 53 4c 41 | 54 45 20 6e 6f 6e 2d 6e |-TRANSLA|TE non-n|
|000009b0| 69 6c 20 6d 65 61 6e 73 | 20 69 6e 70 75 74 20 63 |il means| input c|
|000009c0| 68 61 72 61 63 74 65 72 | 73 20 61 72 65 20 74 72 |haracter|s are tr|
|000009d0| 61 6e 73 6c 61 74 65 64 | 20 66 72 6f 6d 20 61 0a |anslated| from a.|
|000009e0| 75 73 65 72 27 73 20 6b | 65 79 62 6f 61 72 64 20 |user's k|eyboard |
|000009f0| 6c 61 79 6f 75 74 20 74 | 6f 20 74 68 65 20 73 74 |layout t|o the st|
|00000a00| 61 6e 64 61 72 64 20 6b | 65 79 62 6f 61 72 64 20 |andard k|eyboard |
|00000a10| 6c 61 79 6f 75 74 2e 20 | 20 53 65 65 20 74 68 65 |layout. | See the|
|00000a20| 0a 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 6f |.documen|tation o|
|00000a30| 66 20 60 71 75 61 69 6c | 2d 6b 65 79 62 6f 61 72 |f `quail|-keyboar|
|00000a40| 64 2d 6c 61 79 6f 75 74 | 27 20 61 6e 64 0a 60 71 |d-layout|' and.`q|
|00000a50| 75 61 69 6c 2d 6b 65 79 | 62 6f 61 72 64 2d 6c 61 |uail-key|board-la|
|00000a60| 79 6f 75 74 2d 73 74 61 | 6e 64 61 72 64 27 20 66 |yout-sta|ndard' f|
|00000a70| 6f 72 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 2e 0a |or more |detail..|
|00000a80| 0a 53 48 4f 57 2d 4c 41 | 59 4f 55 54 20 6e 6f 6e |.SHOW-LA|YOUT non|
|00000a90| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 74 68 65 20 60 |-nil mea|ns the `|
|00000aa0| 71 75 61 69 6c 2d 68 65 | 6c 70 27 20 63 6f 6d 6d |quail-he|lp' comm|
|00000ab0| 61 6e 64 20 73 68 6f 75 | 6c 64 20 73 68 6f 77 0a |and shou|ld show.|
|00000ac0| 74 68 65 20 75 73 65 72 | 27 73 20 6b 65 79 62 6f |the user|'s keybo|
|00000ad0| 61 72 64 20 6c 61 79 6f | 75 74 20 76 69 73 75 61 |ard layo|ut visua|
|00000ae0| 6c 6c 79 20 77 69 74 68 | 20 74 72 61 6e 73 6c 61 |lly with| transla|
|00000af0| 74 65 64 20 63 68 61 72 | 61 63 74 65 72 73 2e 0a |ted char|acters..|
|00000b00| 49 66 20 4b 42 44 2d 54 | 52 41 4e 53 4c 41 54 45 |If KBD-T|RANSLATE|
|00000b10| 20 69 73 20 73 65 74 2c | 20 69 74 20 69 73 20 64 | is set,| it is d|
|00000b20| 65 73 69 72 61 62 6c 65 | 20 74 6f 20 73 65 74 20 |esirable| to set |
|00000b30| 61 6c 73 6f 20 74 68 69 | 73 20 66 6c 61 67 20 75 |also thi|s flag u|
|00000b40| 6e 6c 65 73 73 0a 74 68 | 69 73 20 70 61 63 6b 61 |nless.th|is packa|
|00000b50| 67 65 20 64 65 66 69 6e | 65 73 20 6e 6f 20 74 72 |ge defin|es no tr|
|00000b60| 61 6e 73 6c 61 74 69 6f | 6e 73 20 66 6f 72 20 73 |anslatio|ns for s|
|00000b70| 69 6e 67 6c 65 20 63 68 | 61 72 61 63 74 65 72 20 |ingle ch|aracter |
|00000b80| 6b 65 79 73 2e 0a 0a 43 | 52 45 41 54 45 2d 44 45 |keys...C|REATE-DE|
|00000b90| 43 4f 44 45 2d 4d 41 50 | 20 6e 6f 6e 2d 6e 69 6c |CODE-MAP| non-nil|
|00000ba0| 20 6d 65 61 6e 73 20 64 | 65 63 6f 64 65 20 6d 61 | means d|ecode ma|
|00000bb0| 70 20 69 73 20 61 6c 73 | 6f 20 63 72 65 61 74 65 |p is als|o create|
|00000bc0| 64 2e 20 20 41 20 64 65 | 63 6f 64 65 0a 6d 61 70 |d. A de|code.map|
|00000bd0| 20 69 73 20 61 6e 20 61 | 6c 69 73 74 20 6f 66 20 | is an a|list of |
|00000be0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 73 20 61 6e 64 |translat|ions and|
|00000bf0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 6f | corresp|onding o|
|00000c00| 72 69 67 69 6e 61 6c 20 | 6b 65 79 73 2e 0a 41 6c |riginal |keys..Al|
|00000c10| 74 68 6f 75 67 68 20 74 | 68 69 73 20 6d 61 70 20 |though t|his map |
|00000c20| 69 73 20 6e 6f 74 20 75 | 73 65 64 20 62 79 20 51 |is not u|sed by Q|
|00000c30| 75 61 69 6c 20 69 74 73 | 65 6c 66 2c 20 69 74 20 |uail its|elf, it |
|00000c40| 63 61 6e 20 62 65 20 75 | 73 65 64 20 62 79 20 73 |can be u|sed by s|
|00000c50| 6f 6d 65 0a 6f 74 68 65 | 72 20 70 72 6f 67 72 61 |ome.othe|r progra|
|00000c60| 6d 73 2e 20 20 46 6f 72 | 20 69 6e 73 74 61 6e 63 |ms. For| instanc|
|00000c70| 65 2c 20 56 69 65 74 6e | 61 6d 65 73 65 20 73 75 |e, Vietn|amese su|
|00000c80| 70 70 6f 72 74 69 6e 67 | 20 6e 65 65 64 73 20 74 |pporting| needs t|
|00000c90| 68 69 73 20 6d 61 70 20 | 74 6f 0a 63 6f 6e 76 65 |his map |to.conve|
|00000ca0| 72 74 20 56 69 65 74 6e | 61 6d 65 73 65 20 74 65 |rt Vietn|amese te|
|00000cb0| 78 74 20 74 6f 20 56 49 | 51 52 20 66 6f 72 6d 61 |xt to VI|QR forma|
|00000cc0| 74 20 77 68 69 63 68 20 | 75 73 65 73 20 6f 6e 6c |t which |uses onl|
|00000cd0| 79 20 41 53 43 49 49 0a | 63 68 61 72 61 63 74 65 |y ASCII.|characte|
|00000ce0| 72 73 20 74 6f 20 72 65 | 70 72 65 73 65 6e 74 20 |rs to re|present |
|00000cf0| 56 69 65 74 6e 61 6d 65 | 73 65 20 63 68 61 72 61 |Vietname|se chara|
|00000d00| 63 74 65 72 73 2e 0a 0a | 4d 41 58 49 4d 55 4d 2d |cters...|MAXIMUM-|
|00000d10| 53 48 4f 52 54 45 53 54 | 20 6e 6f 6e 2d 6e 69 6c |SHORTEST| non-nil|
|00000d20| 20 6d 65 61 6e 73 20 62 | 72 65 61 6b 20 6b 65 79 | means b|reak key|
|00000d30| 20 73 65 71 75 65 6e 63 | 65 20 74 6f 20 67 65 74 | sequenc|e to get|
|00000d40| 20 6d 61 78 69 6d 75 6d | 0a 6c 65 6e 67 74 68 20 | maximum|.length |
|00000d50| 6f 66 20 74 68 65 20 73 | 68 6f 72 74 65 73 74 20 |of the s|hortest |
|00000d60| 73 65 71 75 65 6e 63 65 | 2e 20 20 57 68 65 6e 20 |sequence|. When |
|00000d70| 77 65 20 64 6f 6e 27 74 | 20 68 61 76 65 20 61 20 |we don't| have a |
|00000d80| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 20 6f 66 0a 6b |translat|ion of.k|
|00000d90| 65 79 20 22 2e 2e 41 42 | 43 44 22 20 62 75 74 20 |ey "..AB|CD" but |
|00000da0| 68 61 76 65 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |have tra|nslation|
|00000db0| 73 20 6f 66 20 22 2e 2e | 41 42 22 20 61 6e 64 20 |s of "..|AB" and |
|00000dc0| 22 43 44 2e 2e 22 2c 20 | 62 72 65 61 6b 0a 74 68 |"CD..", |break.th|
|00000dd0| 65 20 6b 65 79 20 61 74 | 20 22 2e 2e 41 42 22 20 |e key at| "..AB" |
|00000de0| 61 6e 64 20 73 74 61 72 | 74 20 74 72 61 6e 73 6c |and star|t transl|
|00000df0| 61 74 69 6f 6e 20 6f 66 | 20 22 43 44 2e 2e 22 2e |ation of| "CD..".|
|00000e00| 20 20 48 61 6e 67 75 6c | 0a 70 61 63 6b 61 67 65 | Hangul|.package|
|00000e10| 73 2c 20 66 6f 72 20 69 | 6e 73 74 61 6e 63 65 2c |s, for i|nstance,|
|00000e20| 20 75 73 65 20 74 68 69 | 73 20 66 61 63 69 6c 69 | use thi|s facili|
|00000e30| 74 79 2e 20 20 49 66 20 | 74 68 69 73 20 66 6c 61 |ty. If |this fla|
|00000e40| 67 20 69 73 20 6e 69 6c | 2c 20 77 65 0a 62 72 65 |g is nil|, we.bre|
|00000e50| 61 6b 20 74 68 65 20 6b | 65 79 20 6a 75 73 74 20 |ak the k|ey just |
|00000e60| 61 74 20 22 2e 2e 41 42 | 43 22 20 61 6e 64 20 73 |at "..AB|C" and s|
|00000e70| 74 61 72 74 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |tart tra|nslation|
|00000e80| 20 6f 66 20 22 44 2e 2e | 22 2e 0a 0a 4f 56 45 52 | of "D..|"...OVER|
|00000e90| 4c 41 59 2d 50 4c 49 53 | 54 20 69 66 20 6e 6f 6e |LAY-PLIS|T if non|
|00000ea0| 2d 6e 69 6c 20 69 73 20 | 61 20 70 72 6f 70 65 72 |-nil is |a proper|
|00000eb0| 74 79 20 6c 69 73 74 20 | 70 75 74 20 6f 6e 20 61 |ty list |put on a|
|00000ec0| 6e 20 6f 76 65 72 6c 61 | 79 20 77 68 69 63 68 0a |n overla|y which.|
|00000ed0| 63 6f 76 65 72 73 20 51 | 75 61 69 6c 20 74 72 61 |covers Q|uail tra|
|00000ee0| 6e 73 6c 61 74 69 6f 6e | 20 72 65 67 69 6f 6e 2e |nslation| region.|
|00000ef0| 0a 0a 55 50 44 41 54 45 | 2d 54 52 41 4e 53 4c 41 |..UPDATE|-TRANSLA|
|00000f00| 54 49 4f 4e 2d 46 55 4e | 43 54 49 4f 4e 20 69 66 |TION-FUN|CTION if|
|00000f10| 20 6e 6f 6e 2d 6e 69 6c | 20 69 73 20 61 20 66 75 | non-nil| is a fu|
|00000f20| 6e 63 74 69 6f 6e 20 74 | 6f 20 63 61 6c 6c 20 74 |nction t|o call t|
|00000f30| 6f 20 75 70 64 61 74 65 | 0a 74 68 65 20 63 75 72 |o update|.the cur|
|00000f40| 72 65 6e 74 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |rent tra|nslation|
|00000f50| 20 72 65 67 69 6f 6e 20 | 61 63 63 6f 64 69 6e 67 | region |accoding|
|00000f60| 20 74 6f 20 61 20 6e 65 | 77 20 74 72 61 6e 73 6c | to a ne|w transl|
|00000f70| 61 74 69 6f 6e 20 64 61 | 74 61 2e 20 20 42 79 0a |ation da|ta. By.|
|00000f80| 64 65 66 61 75 6c 74 2c | 20 61 20 74 72 61 6e 6c |default,| a tranl|
|00000f90| 61 74 65 64 20 74 65 78 | 74 20 6f 72 20 61 20 75 |ated tex|t or a u|
|00000fa0| 73 65 72 27 73 20 6b 65 | 79 20 73 65 71 75 65 6e |ser's ke|y sequen|
|00000fb0| 63 65 20 28 69 66 20 6e | 6f 20 74 72 61 6e 73 6c |ce (if n|o transl|
|00000fc0| 74 69 6f 6e 0a 66 6f 72 | 20 69 74 29 20 69 73 20 |tion.for| it) is |
|00000fd0| 69 6e 73 65 72 74 65 64 | 2e 0a 0a 43 4f 4e 56 45 |inserted|...CONVE|
|00000fe0| 52 53 49 4f 4e 2d 4b 45 | 59 53 20 73 70 65 63 69 |RSION-KE|YS speci|
|00000ff0| 66 69 65 73 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |fies add|itional |
|00001000| 6b 65 79 20 62 69 6e 64 | 69 6e 67 73 20 75 73 65 |key bind|ings use|
|00001010| 64 20 77 68 69 6c 65 0a | 63 6f 6e 76 65 72 73 69 |d while.|conversi|
|00001020| 6f 6e 20 72 65 67 69 6f | 6e 20 69 73 20 61 63 74 |on regio|n is act|
|00001030| 69 76 65 2e 20 20 49 74 | 20 69 73 20 61 6e 20 61 |ive. It| is an a|
|00001040| 6c 69 73 74 20 6f 66 20 | 73 69 6e 67 6c 65 20 6b |list of |single k|
|00001050| 65 79 20 63 68 61 72 61 | 63 74 65 72 0a 76 73 2e |ey chara|cter.vs.|
|00001060| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 63 | corresp|onding c|
|00001070| 6f 6d 6d 61 6e 64 20 74 | 6f 20 62 65 20 63 61 6c |ommand t|o be cal|
|00001080| 6c 65 64 2e 0a 0a 49 66 | 20 53 49 4d 50 4c 45 20 |led...If| SIMPLE |
|00001090| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2c 20 74 68 65 6e |is non-n|il, then|
|000010a0| 20 77 65 20 64 6f 20 6e | 6f 74 20 61 6c 74 65 72 | we do n|ot alter|
|000010b0| 20 74 68 65 20 6d 65 61 | 6e 69 6e 67 73 20 6f 66 | the mea|nings of|
|000010c0| 0a 63 6f 6d 6d 61 6e 64 | 73 20 73 75 63 68 20 61 |.command|s such a|
|000010d0| 73 20 43 2d 66 2c 20 43 | 2d 62 2c 20 43 2d 6e 2c |s C-f, C|-b, C-n,|
|000010e0| 20 43 2d 70 20 61 6e 64 | 20 54 41 42 3b 20 74 68 | C-p and| TAB; th|
|000010f0| 65 79 20 61 72 65 20 74 | 72 65 61 74 65 64 20 61 |ey are t|reated a|
|00001100| 73 0a 6e 6f 6e 2d 51 75 | 61 69 6c 20 63 6f 6d 6d |s.non-Qu|ail comm|
|00001110| 61 6e 64 73 2e 1f 0a 28 | 61 75 74 6f 6c 6f 61 64 |ands...(|autoload|
|00001120| 20 27 71 75 61 69 6c 2d | 64 65 66 69 6e 65 2d 70 | 'quail-|define-p|
|00001130| 61 63 6b 61 67 65 20 22 | 71 75 61 69 6c 22 20 27 |ackage "|quail" '|
|00001140| 28 23 24 20 2e 20 38 36 | 30 29 20 6e 69 6c 20 6e |(#$ . 86|0) nil n|
|00001150| 69 6c 29 0a 23 40 33 36 | 38 20 53 65 74 20 74 68 |il).#@36|8 Set th|
|00001160| 65 20 63 75 72 72 65 6e | 74 20 6b 65 79 62 6f 61 |e curren|t keyboa|
|00001170| 72 64 20 6c 61 79 6f 75 | 74 20 74 6f 20 74 68 65 |rd layou|t to the|
|00001180| 20 73 61 6d 65 20 61 73 | 20 6b 65 79 62 6f 61 72 | same as| keyboar|
|00001190| 64 20 4b 42 44 2d 54 59 | 50 45 2e 0a 0a 53 69 6e |d KBD-TY|PE...Sin|
|000011a0| 63 65 20 73 6f 6d 65 20 | 51 75 61 69 6c 20 70 61 |ce some |Quail pa|
|000011b0| 63 6b 61 67 65 73 20 64 | 65 70 65 6e 64 73 20 6f |ckages d|epends o|
|000011c0| 6e 20 61 20 70 68 79 73 | 69 63 61 6c 20 6c 61 79 |n a phys|ical lay|
|000011d0| 6f 75 74 20 6f 66 20 6b | 65 79 73 20 28 6e 6f 74 |out of k|eys (not|
|000011e0| 0a 63 68 61 72 61 63 74 | 65 72 73 20 67 65 6e 65 |.charact|ers gene|
|000011f0| 72 61 74 65 64 20 62 79 | 20 74 68 65 6d 29 2c 20 |rated by| them), |
|00001200| 74 68 6f 73 65 20 61 72 | 65 20 63 72 65 61 74 65 |those ar|e create|
|00001210| 64 20 62 79 20 61 73 73 | 75 6d 69 6e 67 20 74 68 |d by ass|uming th|
|00001220| 65 0a 73 74 61 6e 64 61 | 72 64 20 6c 61 79 6f 75 |e.standa|rd layou|
|00001230| 74 20 64 65 66 69 6e 65 | 64 20 69 6e 20 60 71 75 |t define|d in `qu|
|00001240| 61 69 6c 2d 6b 65 79 62 | 6f 61 72 64 2d 6c 61 79 |ail-keyb|oard-lay|
|00001250| 6f 75 74 2d 73 74 61 6e | 64 61 72 64 27 2e 20 20 |out-stan|dard'. |
|00001260| 54 68 69 73 0a 66 75 6e | 63 74 69 6f 6e 20 74 65 |This.fun|ction te|
|00001270| 6c 6c 73 20 51 75 61 69 | 6c 20 73 79 73 74 65 6d |lls Quai|l system|
|00001280| 20 74 68 65 20 6c 61 79 | 6f 75 74 20 6f 66 20 79 | the lay|out of y|
|00001290| 6f 75 72 20 6b 65 79 62 | 6f 61 72 64 20 73 6f 20 |our keyb|oard so |
|000012a0| 74 68 61 74 20 77 68 61 | 74 0a 79 6f 75 20 74 79 |that wha|t.you ty|
|000012b0| 70 65 20 69 73 20 63 6f | 72 72 65 63 74 6c 79 20 |pe is co|rrectly |
|000012c0| 68 61 6e 64 6c 65 64 2e | 1f 0a 28 61 75 74 6f 6c |handled.|..(autol|
|000012d0| 6f 61 64 20 27 71 75 61 | 69 6c 2d 73 65 74 2d 6b |oad 'qua|il-set-k|
|000012e0| 65 79 62 6f 61 72 64 2d | 6c 61 79 6f 75 74 20 22 |eyboard-|layout "|
|000012f0| 71 75 61 69 6c 22 20 27 | 28 23 24 20 2e 20 34 34 |quail" '|(#$ . 44|
|00001300| 34 32 29 20 74 20 6e 69 | 6c 29 0a 23 40 36 34 37 |42) t ni|l).#@647|
|00001310| 20 44 65 66 69 6e 65 20 | 74 72 61 6e 73 6c 61 74 | Define |translat|
|00001320| 69 6f 6e 20 72 75 6c 65 | 73 20 6f 66 20 74 68 65 |ion rule|s of the|
|00001330| 20 63 75 72 72 65 6e 74 | 20 51 75 61 69 6c 20 70 | current| Quail p|
|00001340| 61 63 6b 61 67 65 2e 0a | 45 61 63 68 20 61 72 67 |ackage..|Each arg|
|00001350| 75 6d 65 6e 74 20 69 73 | 20 61 20 6c 69 73 74 20 |ument is| a list |
|00001360| 6f 66 20 4b 45 59 20 61 | 6e 64 20 54 52 41 4e 53 |of KEY a|nd TRANS|
|00001370| 4c 41 54 49 4f 4e 2e 0a | 4b 45 59 20 69 73 20 61 |LATION..|KEY is a|
|00001380| 20 73 74 72 69 6e 67 20 | 6d 65 61 6e 69 6e 67 20 | string |meaning |
|00001390| 61 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 6b 65 |a sequen|ce of ke|
|000013a0| 79 73 74 72 6f 6b 65 73 | 20 74 6f 20 62 65 20 74 |ystrokes| to be t|
|000013b0| 72 61 6e 73 6c 61 74 65 | 64 2e 0a 54 52 41 4e 53 |ranslate|d..TRANS|
|000013c0| 4c 41 54 49 4f 4e 20 69 | 73 20 61 20 63 68 61 72 |LATION i|s a char|
|000013d0| 61 63 74 65 72 2c 20 61 | 20 73 74 72 69 6e 67 2c |acter, a| string,|
|000013e0| 20 61 20 76 65 63 74 6f | 72 2c 20 61 20 51 75 61 | a vecto|r, a Qua|
|000013f0| 69 6c 20 6d 61 70 2c 20 | 6f 72 20 61 20 66 75 6e |il map, |or a fun|
|00001400| 63 74 69 6f 6e 2e 0a 49 | 66 20 69 74 20 69 73 20 |ction..I|f it is |
|00001410| 61 20 63 68 61 72 61 63 | 74 65 72 2c 20 69 74 20 |a charac|ter, it |
|00001420| 69 73 20 74 68 65 20 73 | 6f 6c 65 20 74 72 61 6e |is the s|ole tran|
|00001430| 73 6c 61 74 69 6f 6e 20 | 6f 66 20 4b 45 59 2e 0a |slation |of KEY..|
|00001440| 49 66 20 69 74 20 69 73 | 20 61 20 73 74 72 69 6e |If it is| a strin|
|00001450| 67 2c 20 65 61 63 68 20 | 63 68 61 72 61 63 74 65 |g, each |characte|
|00001460| 72 20 69 73 20 61 20 63 | 61 6e 64 69 64 61 74 65 |r is a c|andidate|
|00001470| 20 66 6f 72 20 74 68 65 | 20 74 72 61 6e 73 6c 61 | for the| transla|
|00001480| 74 69 6f 6e 2e 0a 49 66 | 20 69 74 20 69 73 20 61 |tion..If| it is a|
|00001490| 20 76 65 63 74 6f 72 2c | 20 65 61 63 68 20 65 6c | vector,| each el|
|000014a0| 65 6d 65 6e 74 20 28 73 | 74 72 69 6e 67 20 6f 72 |ement (s|tring or|
|000014b0| 20 63 68 61 72 61 63 74 | 65 72 29 20 69 73 20 61 | charact|er) is a|
|000014c0| 20 63 61 6e 64 69 64 61 | 74 65 0a 20 20 66 6f 72 | candida|te. for|
|000014d0| 20 74 68 65 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e | the tra|nslation|
|000014e0| 2e 0a 49 6e 20 74 68 65 | 73 65 20 63 61 73 65 73 |..In the|se cases|
|000014f0| 2c 20 61 20 6b 65 79 20 | 73 70 65 63 69 66 69 63 |, a key |specific|
|00001500| 20 51 75 61 69 6c 20 6d | 61 70 20 69 73 20 67 65 | Quail m|ap is ge|
|00001510| 6e 65 72 61 74 65 64 20 | 61 6e 64 20 61 73 73 69 |nerated |and assi|
|00001520| 67 6e 65 64 20 74 6f 20 | 4b 45 59 2e 0a 0a 49 66 |gned to |KEY...If|
|00001530| 20 54 52 41 4e 53 4c 41 | 54 49 4f 4e 20 69 73 20 | TRANSLA|TION is |
|00001540| 61 20 51 75 61 69 6c 20 | 6d 61 70 20 6f 72 20 61 |a Quail |map or a|
|00001550| 20 66 75 6e 63 74 69 6f | 6e 20 73 79 6d 62 6f 6c | functio|n symbol|
|00001560| 20 77 68 69 63 68 20 72 | 65 74 75 72 6e 73 20 61 | which r|eturns a|
|00001570| 20 51 75 61 69 6c 20 6d | 61 70 2c 0a 20 69 74 20 | Quail m|ap,. it |
|00001580| 69 73 20 75 73 65 64 20 | 74 6f 20 68 61 6e 64 6c |is used |to handl|
|00001590| 65 20 4b 45 59 2e 1f 0a | 28 61 75 74 6f 6c 6f 61 |e KEY...|(autoloa|
|000015a0| 64 20 27 71 75 61 69 6c | 2d 64 65 66 69 6e 65 2d |d 'quail|-define-|
|000015b0| 72 75 6c 65 73 20 22 71 | 75 61 69 6c 22 20 27 28 |rules "q|uail" '(|
|000015c0| 23 24 20 2e 20 34 38 38 | 31 29 20 6e 69 6c 20 27 |#$ . 488|1) nil '|
|000015d0| 6d 61 63 72 6f 29 0a 23 | 40 31 32 30 20 49 6e 73 |macro).#|@120 Ins|
|000015e0| 74 61 6c 6c 20 74 68 65 | 20 51 75 61 69 6c 20 6d |tall the| Quail m|
|000015f0| 61 70 20 4d 41 50 20 69 | 6e 20 74 68 65 20 63 75 |ap MAP i|n the cu|
|00001600| 72 72 65 6e 74 20 51 75 | 61 69 6c 20 70 61 63 6b |rrent Qu|ail pack|
|00001610| 61 67 65 2e 0a 54 68 65 | 20 69 6e 73 74 61 6c 6c |age..The| install|
|00001620| 65 64 20 6d 61 70 20 63 | 61 6e 20 62 65 20 72 65 |ed map c|an be re|
|00001630| 66 65 72 72 65 64 20 62 | 79 20 74 68 65 20 66 75 |ferred b|y the fu|
|00001640| 6e 63 74 69 6f 6e 20 60 | 71 75 61 69 6c 2d 6d 61 |nction `|quail-ma|
|00001650| 70 27 2e 1f 0a 28 61 75 | 74 6f 6c 6f 61 64 20 27 |p'...(au|toload '|
|00001660| 71 75 61 69 6c 2d 69 6e | 73 74 61 6c 6c 2d 6d 61 |quail-in|stall-ma|
|00001670| 70 20 22 71 75 61 69 6c | 22 20 27 28 23 24 20 2e |p "quail|" '(#$ .|
|00001680| 20 35 35 39 37 29 20 6e | 69 6c 20 6e 69 6c 29 0a | 5597) n|il nil).|
|00001690| 23 40 31 30 34 38 20 41 | 64 64 20 6f 6e 65 20 74 |#@1048 A|dd one t|
|000016a0| 72 61 6e 73 6c 61 74 69 | 6f 6e 20 72 75 6c 65 2c |ranslati|on rule,|
|000016b0| 20 4b 45 59 20 74 6f 20 | 54 52 41 4e 53 4c 41 54 | KEY to |TRANSLAT|
|000016c0| 49 4f 4e 2c 20 69 6e 20 | 74 68 65 20 63 75 72 72 |ION, in |the curr|
|000016d0| 65 6e 74 20 51 75 61 69 | 6c 20 70 61 63 6b 61 67 |ent Quai|l packag|
|000016e0| 65 2e 0a 4b 45 59 20 69 | 73 20 61 20 73 74 72 69 |e..KEY i|s a stri|
|000016f0| 6e 67 20 6d 65 61 6e 69 | 6e 67 20 61 20 73 65 71 |ng meani|ng a seq|
|00001700| 75 65 6e 63 65 20 6f 66 | 20 6b 65 79 73 74 72 6f |uence of| keystro|
|00001710| 6b 65 73 20 74 6f 20 62 | 65 20 74 72 61 6e 73 6c |kes to b|e transl|
|00001720| 61 74 65 64 2e 0a 54 52 | 41 4e 53 4c 41 54 49 4f |ated..TR|ANSLATIO|
|00001730| 4e 20 69 73 20 61 20 63 | 68 61 72 61 63 74 65 72 |N is a c|haracter|
|00001740| 2c 20 61 20 73 74 72 69 | 6e 67 2c 20 61 20 76 65 |, a stri|ng, a ve|
|00001750| 63 74 6f 72 2c 20 61 20 | 51 75 61 69 6c 20 6d 61 |ctor, a |Quail ma|
|00001760| 70 2c 0a 20 61 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |p,. a fu|nction, |
|00001770| 6f 72 20 61 20 63 6f 6e | 73 2e 0a 49 74 20 69 74 |or a con|s..It it|
|00001780| 20 69 73 20 61 20 63 68 | 61 72 61 63 74 65 72 2c | is a ch|aracter,|
|00001790| 20 69 74 20 69 73 20 74 | 68 65 20 73 6f 6c 65 20 | it is t|he sole |
|000017a0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 20 6f 66 20 4b |translat|ion of K|
|000017b0| 45 59 2e 0a 49 66 20 69 | 74 20 69 73 20 61 20 73 |EY..If i|t is a s|
|000017c0| 74 72 69 6e 67 2c 20 65 | 61 63 68 20 63 68 61 72 |tring, e|ach char|
|000017d0| 61 63 74 65 72 20 69 73 | 20 61 20 63 61 6e 64 69 |acter is| a candi|
|000017e0| 64 61 74 65 20 66 6f 72 | 20 74 68 65 20 74 72 61 |date for| the tra|
|000017f0| 6e 73 6c 61 74 69 6f 6e | 2e 0a 49 66 20 69 74 20 |nslation|..If it |
|00001800| 69 73 20 61 20 76 65 63 | 74 6f 72 2c 20 65 61 63 |is a vec|tor, eac|
|00001810| 68 20 65 6c 65 6d 65 6e | 74 20 28 73 74 72 69 6e |h elemen|t (strin|
|00001820| 67 20 6f 72 20 63 68 61 | 72 61 63 74 65 72 29 20 |g or cha|racter) |
|00001830| 69 73 20 61 20 63 61 6e | 64 69 64 61 74 65 0a 20 |is a can|didate. |
|00001840| 66 6f 72 20 74 68 65 20 | 74 72 61 6e 73 6c 61 74 |for the |translat|
|00001850| 69 6f 6e 2e 0a 49 66 20 | 69 74 20 69 73 20 61 20 |ion..If |it is a |
|00001860| 63 6f 6e 73 2c 20 74 68 | 65 20 63 61 72 20 69 73 |cons, th|e car is|
|00001870| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 61 62 6f 76 | one of |the abov|
|00001880| 65 20 61 6e 64 20 74 68 | 65 20 63 64 72 20 69 73 |e and th|e cdr is|
|00001890| 20 61 20 66 75 6e 63 74 | 69 6f 6e 0a 20 74 6f 20 | a funct|ion. to |
|000018a0| 63 61 6c 6c 20 77 68 65 | 6e 20 74 72 61 6e 73 6c |call whe|n transl|
|000018b0| 61 74 69 6e 67 20 4b 45 | 59 20 28 74 68 65 20 72 |ating KE|Y (the r|
|000018c0| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 69 73 20 61 |eturn va|lue is a|
|000018d0| 73 73 69 67 6e 65 64 20 | 74 6f 20 74 68 65 0a 20 |ssigned |to the. |
|000018e0| 76 61 72 69 61 62 6c 65 | 20 60 71 75 61 69 6c 2d |variable| `quail-|
|000018f0| 63 75 72 72 65 6e 74 2d | 64 61 74 61 27 29 2e 20 |current-|data'). |
|00001900| 20 49 66 20 74 68 65 20 | 63 64 72 20 70 61 72 74 | If the |cdr part|
|00001910| 20 69 73 20 6e 6f 74 20 | 61 20 66 75 6e 63 74 69 | is not |a functi|
|00001920| 6f 6e 2c 0a 20 74 68 65 | 20 76 61 6c 75 65 20 69 |on,. the| value i|
|00001930| 74 73 65 6c 66 20 69 73 | 20 61 73 73 69 67 6e 65 |tself is| assigne|
|00001940| 64 20 74 6f 20 60 71 75 | 61 69 6c 2d 63 75 72 72 |d to `qu|ail-curr|
|00001950| 65 6e 74 2d 64 61 74 61 | 27 2e 0a 49 6e 20 74 68 |ent-data|'..In th|
|00001960| 65 73 65 20 63 61 73 65 | 73 2c 20 61 20 6b 65 79 |ese case|s, a key|
|00001970| 20 73 70 65 63 69 66 69 | 63 20 51 75 61 69 6c 20 | specifi|c Quail |
|00001980| 6d 61 70 20 69 73 20 67 | 65 6e 65 72 61 74 65 64 |map is g|enerated|
|00001990| 20 61 6e 64 20 61 73 73 | 69 67 6e 65 64 20 74 6f | and ass|igned to|
|000019a0| 20 4b 45 59 2e 0a 0a 49 | 66 20 54 52 41 4e 53 4c | KEY...I|f TRANSL|
|000019b0| 41 54 49 4f 4e 20 69 73 | 20 61 20 51 75 61 69 6c |ATION is| a Quail|
|000019c0| 20 6d 61 70 20 6f 72 20 | 61 20 66 75 6e 63 74 69 | map or |a functi|
|000019d0| 6f 6e 20 73 79 6d 62 6f | 6c 20 77 68 69 63 68 20 |on symbo|l which |
|000019e0| 72 65 74 75 72 6e 73 20 | 61 20 51 75 61 69 6c 20 |returns |a Quail |
|000019f0| 6d 61 70 2c 0a 20 69 74 | 20 69 73 20 75 73 65 64 |map,. it| is used|
|00001a00| 20 74 6f 20 68 61 6e 64 | 6c 65 20 4b 45 59 2e 0a | to hand|le KEY..|
|00001a10| 4f 70 74 69 6f 6e 61 6c | 20 61 72 67 75 6d 65 6e |Optional| argumen|
|00001a20| 74 20 4e 41 4d 45 2c 20 | 69 66 20 73 70 65 63 69 |t NAME, |if speci|
|00001a30| 66 69 65 64 2c 20 73 61 | 79 73 20 77 68 69 63 68 |fied, sa|ys which|
|00001a40| 20 51 75 61 69 6c 20 70 | 61 63 6b 61 67 65 0a 74 | Quail p|ackage.t|
|00001a50| 6f 20 64 65 66 69 6e 65 | 20 74 68 69 73 20 74 72 |o define| this tr|
|00001a60| 61 6e 73 6c 61 74 69 6f | 6e 20 72 75 6c 65 20 69 |anslatio|n rule i|
|00001a70| 6e 2e 20 20 54 68 65 20 | 64 65 66 61 75 6c 74 20 |n. The |default |
|00001a80| 69 73 20 74 6f 20 64 65 | 66 69 6e 65 20 69 74 20 |is to de|fine it |
|00001a90| 69 6e 20 74 68 65 0a 63 | 75 72 72 65 6e 74 20 51 |in the.c|urrent Q|
|00001aa0| 75 61 69 6c 20 70 61 63 | 6b 61 67 65 2e 1f 0a 28 |uail pac|kage...(|
|00001ab0| 61 75 74 6f 6c 6f 61 64 | 20 27 71 75 61 69 6c 2d |autoload| 'quail-|
|00001ac0| 64 65 66 72 75 6c 65 20 | 22 71 75 61 69 6c 22 20 |defrule |"quail" |
|00001ad0| 27 28 23 24 20 2e 20 35 | 37 38 33 29 20 6e 69 6c |'(#$ . 5|783) nil|
|00001ae0| 20 6e 69 6c 29 0a 23 40 | 34 31 20 44 65 66 69 6e | nil).#@|41 Defin|
|00001af0| 65 20 4b 45 59 20 61 73 | 20 54 52 41 4e 53 20 69 |e KEY as| TRANS i|
|00001b00| 6e 20 61 20 51 75 61 69 | 6c 20 6d 61 70 20 4d 41 |n a Quai|l map MA|
|00001b10| 50 2e 1f 0a 28 61 75 74 | 6f 6c 6f 61 64 20 27 71 |P...(aut|oload 'q|
|00001b20| 75 61 69 6c 2d 64 65 66 | 72 75 6c 65 2d 69 6e 74 |uail-def|rule-int|
|00001b30| 65 72 6e 61 6c 20 22 71 | 75 61 69 6c 22 20 27 28 |ernal "q|uail" '(|
|00001b40| 23 24 20 2e 20 36 38 39 | 31 29 20 6e 69 6c 20 6e |#$ . 689|1) nil n|
|00001b50| 69 6c 29 0a 23 40 34 38 | 37 20 55 70 64 61 74 65 |il).#@48|7 Update|
|00001b60| 20 65 6e 74 72 69 65 73 | 20 66 6f 72 20 51 75 61 | entries| for Qua|
|00001b70| 69 6c 20 70 61 63 6b 61 | 67 65 73 20 69 6e 20 60 |il packa|ges in `|
|00001b80| 4c 45 49 4d 27 20 6c 69 | 73 74 20 66 69 6c 65 20 |LEIM' li|st file |
|00001b90| 69 6e 20 64 69 72 65 63 | 74 6f 72 79 20 44 49 52 |in direc|tory DIR|
|00001ba0| 4e 41 4d 45 2e 0a 44 49 | 52 4e 41 4d 45 20 69 73 |NAME..DI|RNAME is|
|00001bb0| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 63 6f 6e | a direc|tory con|
|00001bc0| 74 61 69 6e 69 6e 67 20 | 45 6d 61 63 73 20 69 6e |taining |Emacs in|
|00001bd0| 70 75 74 20 6d 65 74 68 | 6f 64 73 3b 0a 6e 6f 72 |put meth|ods;.nor|
|00001be0| 6d 61 6c 6c 79 2c 20 69 | 74 20 73 68 6f 75 6c 64 |mally, i|t should|
|00001bf0| 20 73 70 65 63 69 66 79 | 20 74 68 65 20 60 6c 65 | specify| the `le|
|00001c00| 69 6d 27 20 73 75 62 64 | 69 72 65 63 74 6f 72 79 |im' subd|irectory|
|00001c10| 0a 6f 66 20 74 68 65 20 | 45 6d 61 63 73 20 73 6f |.of the |Emacs so|
|00001c20| 75 72 63 65 20 74 72 65 | 65 2e 0a 0a 49 74 20 73 |urce tre|e...It s|
|00001c30| 65 61 72 63 68 65 73 20 | 66 6f 72 20 51 75 61 69 |earches |for Quai|
|00001c40| 6c 20 70 61 63 6b 61 67 | 65 73 20 75 6e 64 65 72 |l packag|es under|
|00001c50| 20 60 71 75 61 69 6c 27 | 20 73 75 62 64 69 72 65 | `quail'| subdire|
|00001c60| 63 74 6f 72 79 20 6f 66 | 20 44 49 52 4e 41 4d 45 |ctory of| DIRNAME|
|00001c70| 2c 0a 61 6e 64 20 75 70 | 64 61 74 65 20 74 68 65 |,.and up|date the|
|00001c80| 20 66 69 6c 65 20 22 6c | 65 69 6d 2d 6c 69 73 74 | file "l|eim-list|
|00001c90| 2e 65 6c 22 20 69 6e 20 | 44 49 52 4e 41 4d 45 2e |.el" in |DIRNAME.|
|00001ca0| 0a 0a 57 68 65 6e 20 63 | 61 6c 6c 65 64 20 66 72 |..When c|alled fr|
|00001cb0| 6f 6d 20 61 20 70 72 6f | 67 72 61 6d 2c 20 74 68 |om a pro|gram, th|
|00001cc0| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 61 72 67 75 |e remain|ing argu|
|00001cd0| 6d 65 6e 74 73 20 61 72 | 65 20 61 64 64 69 74 69 |ments ar|e additi|
|00001ce0| 6f 6e 61 6c 0a 64 69 72 | 65 63 74 6f 72 79 20 6e |onal.dir|ectory n|
|00001cf0| 61 6d 65 73 20 74 6f 20 | 73 65 61 72 63 68 20 66 |ames to |search f|
|00001d00| 6f 72 20 51 75 61 69 6c | 20 70 61 63 6b 61 67 65 |or Quail| package|
|00001d10| 73 20 75 6e 64 65 72 20 | 60 71 75 61 69 6c 27 20 |s under |`quail' |
|00001d20| 73 75 62 64 69 72 65 63 | 74 6f 72 79 0a 6f 66 20 |subdirec|tory.of |
|00001d30| 65 61 63 68 20 64 69 72 | 65 63 74 6f 72 79 2e 1f |each dir|ectory..|
|00001d40| 0a 28 61 75 74 6f 6c 6f | 61 64 20 27 71 75 61 69 |.(autolo|ad 'quai|
|00001d50| 6c 2d 75 70 64 61 74 65 | 2d 6c 65 69 6d 2d 6c 69 |l-update|-leim-li|
|00001d60| 73 74 2d 66 69 6c 65 20 | 22 71 75 61 69 6c 22 20 |st-file |"quail" |
|00001d70| 27 28 23 24 20 2e 20 37 | 30 30 32 29 20 74 20 6e |'(#$ . 7|002) t n|
|00001d80| 69 6c 29 0a | |il). | |
+--------+-------------------------+-------------------------+--------+--------+